<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../../js/jquery-3.4.1.js"></script>
    <script src="modalMessageTools.js"></script>
</head>
<body>
<button id="btn1">弹窗</button>
<button id="btn2">弹窗</button>

<script type="text/javascript">

    $(function () {
        $("#btn1").click(function () {
            var msg = `
               <div style="text-align: left;">
               确定撤销该病人的登记信息吗?<br/>
               1. asdasds<br/>
               2. 2323232<br/>
               2. 2323232<br/>
               2. 2323232<br/>
               2. 2323232<br/>
               2. 2323232<br/>
               </div>
            `;
            modalMessageTools._showConfirm(msg, "提示", "确定", "取消", function () {
                modalMessageTools.showSyncMsg("撤销中，请等待...", function () {

                });
            }, function () {
            });
        });

        $("#btn1").click(function () {
            modalMessageTools.closeMsg();
        });
    })

</script>
</body>
</html>